package ntd.fx;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
import lj.fx.tool.component.*;

public class TestApplication extends Application {
    @Override
    public void start(Stage primaryStage) throws Exception {
        VBox box = new VBox();
        final Scene scene = new Scene(box,1000, 1000);
        scene.setFill(null);

        box.getChildren().add(ComLine.randomShape());
        box.getChildren().add(ComRectangle.randomShape());
        box.getChildren().add(ComEllipse.randomShape());

        primaryStage.setScene(scene);
        primaryStage.show();
    }

    public static void main(String[] args) {
//        launch();
        ComApplication comApplication = new ComApplication(true);

        ComFlowPane comFlowPane = new ComFlowPane();


    }
}
